<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8"/>
    <!-- 加入一些不要缓存的头 -->
    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate"/>
    <meta http-equiv="Pragma" content="no-cache"/>
    <meta http-equiv="Expires" content="0"/>
    <script>
        var timestamp = new Date().getTime();
    </script>
</head>
<body>
<p></p>
<script type="text/javascript">
    var key = getQueryVariable("key");
    alert(key);

    function getQueryVariable(variable)
{
       var query = window.location.search.substring(1);
       var vars = query.split("&");
       for (var i=0;i<vars.length;i++) {
               var pair = vars[i].split("=");
               if(pair[0] == variable){return pair[1];}
       }
       return(false);
}
</script>
  </body>
</html>